// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  modules: [
    'arco-design-nuxt-module',
    '@pinia/nuxt'
  ],
  app: {
    head: {
      htmlAttrs: {
        lang: 'zh-CN',
      }
    },
    keepalive: false,
  },
  experimental: {
    externalVue: false,
  },
  pageTransition: { name: "page", mode: "out-in" },
  layoutTransition: { name: "layout", mode: "out-in" },
  devtools: { enabled: false },
  arco: {
    importPrefix: 'A',
    hookPrefix: 'Arco',
    locales: ['getLocale'],
    localePrefix: 'Arco',
    imports: ["Message"]
  },

})
